import http from "@/utils/http";

/** 权限角色 */
export class PermissionApi {
   /** 分配权限 */
   static readonly Assign = (params: Permission.Assign) => http.post("/api/permission/assign", params);

   /** 查询 */
   static readonly Search = (params?: Permission.Search) => http.get<Permission.SearchResult>("/api/permission/search", params);
}
